{extend name="public:layout" /}
{block name="title"}搜索属性管理{/block}
{block name="head"}{/block}
{block name="body"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox">
        <div class="ibox-title">
            <ol class="breadcrumb">
                <li><i class="fa fa-hand-o-right"></i> 搜索属性列表</li>
            </ol>
        </div>
        <div class="ibox-content">
            <div class="toolbar">
                <a class="btn btn-primary" href="{:url('add')}">
                    <i class="fa fa-plus"></i>&nbsp;申请搜索属性
                </a>
            </div>
            <table class="table table-bordered">
                <thead>
                <tr>
                    <th width="50">#</th>
                    <th width="200">绑定栏目</th>
                    <th>搜索属性值</th>
                    <th width="80">状态</th>
                    <th width="120">操作</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo"}
                <tr>
                    <td>{$vo.extend_id}</td>
                    <td>{$vo.cid_names}</td>
                    <td>{volist name="vo.extend_value" id="v"}{$v.item_name},{/volist}</td>
                    <td>审核中</td>
                    <td>
                        <a href="{:url('edit',['extend_id'=>$vo['extend_id']])}">编辑</a>
                        <a href="javascript:;" onclick="doAction(this);"
                           data-msg="确认删除吗？" data-url="{:url('del')}" data-params="extend_id={$vo.extend_id}">删除</a>
                    </td>
                </tr>
                {/volist}
                </tbody>
            </table>
            <div class="page-bar">{$list->render()}</div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
{/block}
{block name="script"}{/block}